package com.example.furniture.dto;

/**
 * AI对话响应DTO
 * 
 * @author 家具商城系统
 * @version 1.0
 * @since 2024-01-01
 */
public class AiChatResponse {

    private String reply;
    private String model;
    private long timestamp;

    public AiChatResponse() {}

    public AiChatResponse(String reply, String model) {
        this.reply = reply;
        this.model = model;
        this.timestamp = System.currentTimeMillis();
    }

    public String getReply() {
        return reply;
    }

    public void setReply(String reply) {
        this.reply = reply;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "AiChatResponse{" +
                "reply='" + reply + '\'' +
                ", model='" + model + '\'' +
                ", timestamp=" + timestamp +
                '}';
    }
}